package com.geek.aidy.geek.controller;

import java.util.ArrayList;
import java.util.List;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.geek.aidy.geek.vo.UserVO;

@RestController
public class UserController {

    @GetMapping("/user-info")
    public List<UserVO> getUserInfo() {
        List<UserVO>  list = new ArrayList<>();
        UserVO vo = new UserVO();
        vo.setName("张三");
        vo.setPhone("13812345678");


        UserVO vo1 = new UserVO();
        vo1.setName("张三丰");
        vo1.setPhone("13812345678");
        list.add(vo);
        list.add(vo1);

        return list;
    }
}
